package com.losl.system.service.impl;

import com.losl.system.pojo.Posts;
import com.losl.system.mapper.PostsMapper;
import com.losl.system.service.PostsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 帖子表 服务实现类
 * </p>
 *
 * @author maxwell
 * @since 2021-06-06
 */
@Service
public class PostsServiceImpl extends ServiceImpl<PostsMapper, Posts> implements PostsService {

    @Override
    public List<Posts> index() {
        return baseMapper.index();
    }
}
